home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / faxdoc.zip / 228.LIT < prev    next >
Text File  |  1992-12-04  |  23KB  |  232 lines

  1.                             FYI
  2.  
  3. (Note: The origin of this information may be internal or external to Novell.  Novell makes every effort within its means to verify this information.  However, the information provided in this document is FOR YOUR INFORMATION only.  Novell makes no explicit or implied claims to the validity of this information.)
  4.  
  5.              TITLE:   How To Configure a NetWare Lite Server v1.1
  6.       DOCUMENT ID#:   FYI.P.6103
  7.               DATE:   04Dec92
  8.            PRODUCT:   NetWare Lite
  9.    PRODUCT VERSION:   All versions
  10.         SUPERSEDES:   FYI.P.6060
  11.  
  12.            SYMPTOM:  NA
  13.  
  14. ISSUE/PROBLEM
  15. How to Configure a NetWare Lite Server v1.1
  16.  
  17. The purpose of this document is to explain the server statistics that are configurable within NetWare Lite.  These server statistics can be viewed and changed in the Net utility.  To access the configuration menus,  perform the following steps, after logging in:
  18.     From the c:> prompt type "net"
  19.     select "Supervise the network"
  20.     select "Server configuration"
  21.     select the server to view
  22.  
  23. SERVER CONFIGURATION SCREEN
  24. The following is an example of the server configuration screen with default settings:
  25.  
  26.  
  27.  
  28.  
  29.     Configuration Information for Server NWLITE
  30.  
  31.  
  32.                                         CFG  FUTURE
  33.  Connections              (2-25)        4     4
  34.  Client tasks              (4-200)       10     10  
  35.  Network directories      (2-20)         4    4
  36.  Network printers          (0-3)         1    1
  37.  Print buffer size          (512-4096)     512     512 
  38.  Number of receive buffers (3-20)       6    6
  39.  Receive buffer size      (512-8192)      1024    1024 
  40.  Number of IO buffers      (0-25)        1     1
  41.  IO buffer size multiplier (2-64)      4     4
  42.  Future server memory size   (approx.)     44,397
  43.  Allow remote management      (Y/N)         Y    Y
  44.  Future server name                     NWLITE
  45.  
  46.  
  47.  
  48. CFG and FUTURE Columns
  49. There are two columns of statistics on the right hand side of this table labeled CFG and FUTURE.  The CFG column indicates the settings that are currently being used.  The FUTURE column is used to determine the network settings to be implemented the next time the network is started.  If you want to make a change, make it in the FUTURE column and then reboot that server.  Once the server is re-booted, the new settings will be in effect and will appear in the CFG column.
  50.  
  51. Configuration Settings
  52.  
  53. Each item in the menu will be discussed in some detail.  After each item is described, configuration information will be given to help correctly configure each item.
  54.  
  55. CONNECTIONS
  56.  
  57. Every computer on the network (client or server or both) has a connection table.  This table keeps track of the number of connections that the computer has with other computers.  This table is not able to be viewed by a user, however, the number of connections can be limited on a server.  A connection is established when one computer accesses another computer across the network.  For example, a connection is established if a client accesses a network resource, such as a network directory or network printer, located on a server. 
  58.  
  59. Server Connection Table
  60. A server's connection table actually contains a list of the node addresses of every client computer accessing printers or network directories on that server.  Because the connection is actually the node address of the network card, only one connection is established per machine, regardless of how many drives a computer has mapped or how many printers a client machine is captured to.  It is not possible for the number of connections in the server connection table to be greater than the total number of clients on the network. When a server receives a request to map a drive, for example, it will look down the list of existing connections and will create a new connection only if the address of the requesting computer is not already on the list.
  61.  
  62. Temporary Connections
  63. Temporary connections are occasionally established by the net utility to modify a user account, change a server's configuration, etc.  After the net utility has finished using the temporary connection, the connection is cancelled.
  64.  
  65.  
  66. Setting Connections
  67. Set the number of connections for each server by considering how many clients might be mapped or captured to the server at one time and add one to that number to provide for any temporary connections.  Each connection in the Server's configuration menu uses approximately 80 bytes of memory. 
  68.   
  69.  
  70. CLIENT TASKS 
  71.  
  72. Client tasks are the number of programs permitted to open files on a server.  Each time a program on a client uses a resource on a server (i.e. starting a program), one client task is registered in a table on the server.  This is the case whether the client loads the program from the server or whether it loads it from its own hard drive.  If the same program opens more than one file, only one client task is still registered, because client tasks refer to the number of programs that are opening files, not the number of files that are open on the server.  On the other hand, if two different programs on a client open files on a server, then two client tasks are recorded in the table.  Some programs call other programs which use server resources.  When this happens, client tasks will increase by more than one when the program is initially started.
  73.  
  74. There are a variety of problems associated with not having enough client tasks.  Usually errors will be displayed by the application that is currently running.  Occasionally, the whole network will hang.
  75.  
  76.  
  77. Client Task Configuration Information  
  78. The number of client tasks defaults to 10.  A good rule of thumb is to set the number of client tasks to 10 per machine connected to the server (i.e. If five machines have drives mapped to a server, set the client tasks on the server to 50).  This should provide enough client tasks to operate the network.  Approximately 100 bytes of memory are reserved on a server per each client task.
  79.  
  80. Check the server status screen frequently to verify that you have enough client tasks.  If you see the "peak" number of tasks in the server status screen approaching the CFG number (within 6) you should increase the number of client tasks to avoid problems.  The CFG number should always be at least six higher than the PEAK number.
  81.  
  82. Proper configuration of the number of client tasks on a server is especially important under the following conditions:  1- Running Microsoft Windows,  2- Using a disk intensive program (i.e. a database program),  3- Supporting many clients.
  83.  
  84. Network Directories
  85.  
  86. A network directory is a directory on a server that can be accessed by clients on the network.   Increasing the number of network directories on a server, simply allows more of its directories to be accessed by users across the network. 
  87.  
  88. Network Directory Configuration Information  
  89. Set the number of network directories to as many as needed (up to 20).  
  90.  
  91. Network Printers
  92.  
  93. This figure designates the maximum number of network printers allowed on a server.  NetWare Lite will support up to 3 printers per server.  A printer on a server does not necessarily have to be designated as a network resource. It can be run locally if SERVER.EXE is not loaded into memory.  Each network printer defined takes up approximately 884 bytes of memory on the server.
  94.  
  95. Network Printer Configuration  
  96. This number should correspond to the number of printers physically connected to the server and defined as network resources.  The maximum number of network printers per server is three.
  97.  
  98. Print Buffer 
  99.  
  100. Print Buffer Size
  101. NetWare Lite uses a print buffer to temporarily store information before it is printed.  A print job follows the following path to the printer:
  102.  
  103.     Application --- DOS --- Client --- ||  network  ||--- Server --- Printer
  104.  
  105. When someone prints a job from a client machine to a network printer, the information first goes to DOS.  After realizing that the printer port (lpt1 for example) has been captured to a network printer, DOS sends the print job to the network software on the client machine.  The print job is sent across the network cabling to the computer with the printer attached and then taken by the server software and spooled to a directory on the hard drive.  The path to where the data is being spooled is C:\NWLITE\NLCNTL \SLPT1.  The NLCNTL subdirectory is a hidden directory and the SLPT1 directory corresponds to the printer port captured on LPT1.  (If LPT2 were captured, the last subdirectory would be \SLPT2).  The job is spooled as a file, and then is loaded to an area in memory called the print buffer.  From the print buffer, the print job is sent to the printer.  
  106.  
  107. The print buffer speeds up the printing, because accessing memory is much faster than accessing a hard disk drive.  The bigger the print buffer is, the fewer times the computer has to obtain information from the relatively slow hard drive, and the faster the printing is.   
  108.  
  109. Print Buffer Configuration
  110. Set the print buffer size to the maximum allowed value, unless limited memory is available.  
  111.  
  112. Receive Buffers
  113.  
  114. Number of Receive Buffers
  115. Each Netware Lite server has two types of buffers related to overall network communication, which can be configured by a supervisor.  They are the receive and IO buffers.  Understanding receive and IO buffers and how to configure them requires an understanding of some basic NetWare Lite network communication concepts. 
  116.  
  117. When an application makes a request of DOS, such as reading data from a file or writing data to a file, DOS determines whether or not it can handle the request itself.  If the requested operation involves a network resource, such as listing a network directory, DOS passes the request to the network, which fills the request and gives the response back to DOS, which in turn passes the response back to the application.  
  118.  
  119. Each network request passes through four different stages before actually being sent out on the network cabling.  The network provides information to DOS (e.g. which drives are actually network drives) so that DOS knows when to pass requests to the network, and when to return errors to the requesting application.  
  120.  
  121. There are three programs which provide the interface to the network hardware.  They are the Internetwork Packet Exchange Protocol (IPX) driver (IPXODI.COM), the Link Support Layer (LSL) driver (LSL.COM), and the Network Interface Card (NIC) driver (e.g. NE2000.COM). These three programs take requests from the network level and transform them into packets which are then sent out on the cable.  
  122.  
  123. When a packet is received at the server, SERVER.EXE is notified and the packet is placed in a free receive buffer. The server processes the request and then does one of two things:  If the requested operation is a disk read, the server reads the requested amount of data and places the response in a free IO buffer.  If the request is for anything else, the server places the response back in the receive buffer where it got the request.  The data is then transferred back across the network to the application that originally made the request.
  124.  
  125. Number of Receive Buffers Configuration Information 
  126. Set the number of receive buffers to three more than the number of clients that will be simultaneously accessing the server.  
  127.  
  128. The extra receive buffers are important.  The server may be servicing requests from every client on the network and still needs extra buffers to listen for additional incoming requests.  Even though all client machines may have requests pending at the server, a client may re-send a request and the server needs extra buffers to handle any extra packets from the clients.
  129.  
  130. Receive Buffer Size Description and Configuration Information 
  131. The network is limited to the type of network hardware that is being used.  A receive buffer cannot be set to anything larger than the packet size of a particular type of card.  Typically ethernet is limited to a packet size of 1450 bytes and arcnet and token ring are capable of sending and receiving 4096 byte packets, the limit of NWLite.  
  132.  
  133. DOS reads information best in 512 byte increments, so receive buffers should be set to a multiple of 512 bytes even if the packet size is larger than the 512 byte multiple.  For example, when using ethernet cards, set the buffer size to 1024 bytes rather than the maximum allowed 1450 bytes.  Because 1024 is an increment of 512, and the 1024 setting will be faster than 1450 bytes.
  134.  
  135. IO Buffers
  136.  
  137. Number of IO Buffers
  138. When a client makes a request, in responding to that request, the server fills the IO buffers with blocks of data to be sent across the cable for the next portion of that request.
  139.  
  140. Number of IO Buffers Configuration Information  
  141. The preferable setting for the number of IO buffers is one per client.  Otherwise, set the number of IO buffers to one per every four receive buffers, to save memory. Do not set the IO buffers greater than the number of clients that will be accessing the server.
  142.  
  143. IO Buffer Size Multiplier and Configuration Information
  144. The IO buffer size multiplier indicates the size, in kilobytes, of each IO buffer.  The guideline for setting the IO buffer size multiplier varies depending on the size that you would like your IO buffers to be.  If memory is not a consideration, then set the buffer size multiplier high.  That will allow more blocks of data to be stored in the IO buffer so that less disk reads are necessary.  However, if memory is a consideration a smaller buffer size would be recommended.  For every IO buffer, the server size will increase the amount of kilobytes that was specified for the multiplier.  For example, if there are 3 IO buffers and the multiplier is 4, server will increase in size by 12K.
  145.  
  146. REMOTE MANAGEMENT
  147.  
  148. Allow Remote Management
  149. If remote management is enabled, a network supervisor will be able to change a server's configuration settings from any machine on the network.  If remote management is disabled, a server's configuration settings will only be able to be modified at the keyboard of the server itself.
  150.  
  151. Note:  Remote Management does not refer to modem use.
  152.  
  153. Remote Management Configuration.  
  154. Enable or disable remote management depending upon the conditions in which the network is running.  If security is a concern, remote management may need to be disabled.
  155.  
  156. FUTURE SERVER NAME
  157.  
  158. Future Server Name
  159. The future server name is the name which the server will be called the next time the network is started.  
  160.  
  161.                     SERVER STATUS SCREEN
  162.  
  163.               Status Information for Server NWLite 
  164.  
  165. Server up-time     Days     Hours     Minutes     Seconds
  166.  
  167. Server version                                  CFG   PEAK   CURR
  168. Server addres               Connections
  169. Network Auditing            Client tasks
  170. SHARE running               Open files
  171. Server memory size          Num net directories
  172.                       CUM   Num net printers
  173. Server-busy packets         Print buffer size
  174. server cache hits           Receive buffers
  175. Packets Received            IO buffers
  176. Watchdog terminations       IO buffer size            
  177.  
  178.  
  179. The Server status screen is a diagnostic tool that can be used to trouble-shoot problems within the network and to optimize the speed at which the network runs.  All of the items listed on this screen are configured in other places; this screen only indicates what the current settings are.
  180.  
  181. The Server status screen has some distinguishing features.  The right side of the screen contains the statistics set in the Server configuration menu.  These statistics are listed in three columns.  The CFG column shows how the items are currently configured, the PEAK column shows how close to the configured setting each item has gotten since the network was started, and the CURR setting shows the current status of each item.  The PEAK and CURR numbers are dynamic, meaning any changes will immediately show on the screen.  The left hand column contains information that is set when the machine is started and has cumulative information that keeps track of the total performance of the network since the network was started.
  182.  
  183. Server Up-time
  184. This indicates how long the server has been running continuously since the network was loaded.  Every time the network is restarted, the Server up-time figure is reset to zero.
  185.  
  186.  
  187. Server Version
  188. This displays the version of NetWare Lite that is currently running.  The current version of NetWare Lite available is version 1.1.
  189.  
  190. Server Address
  191. The server address is the node address of the network card that is installed in the server.  The node address is a unique number assigned to the network card that distinguishes it from other cards on the network.  This number may be set with software settings, switches on the card, or it may be built into the card.
  192.  
  193. Network Auditing
  194. Network auditing has a "yes" or "no" indicator displaying whether or not the auditing feature has been enabled.  The audit log lists such activities as logins, logouts, and backup of network management files.  The date and username associated with each activity appear in the log.  Network auditing can be turned on and off within the net utility in the Supervise the Network option.  
  195.  
  196. SHARE Running
  197. This screen let's you know whether or not SHARE.EXE has been loaded.  SHARE is the DOS file used to control file locking and file sharing.  SHARE is a necessary program to load when using a peer to peer network because it enables programs to be run concurrently and ensures proper file locking so two people do not access the same data file at the same time. 
  198.  
  199. Server Memory Size
  200. If this percentage is low, an increase of the number of IO buffers may speed up your system.
  201.  
  202. Server-busy Packets
  203. This statistic informs the user of the number of times that a client re-sends a request to a server when the server was too busy to handle the request.  A large number of server-busy packets (more than 1%) usually indicates that the server is not fast enough to handle the volume of requests that are being made.  A third-party disk cacheing program will improve the speed of the server and will reduce the number of server-busy packets.
  204.  
  205. Another event that will cause the server-busy packets to increase at an abnormal rate is when the server is formatting a floppy disk.  DOS is not available during a disk format to service requests coming in from clients.  As a result, many retries will be made from client machines causing the number of server-busy packets to increase.
  206.  
  207.  
  208. Server Cache Hits
  209. Percentage of requests serviced by the cache rather than accessing DOS.  The cache will not be used for smaller files.  If the server can service the incoming packet in one request, it will not use the cache.  Usually files under 1024 bytes will not take advantage of the cache.  The cache is directly related to the number and size of the IO buffers.  If the percentage is low, an increase of the number of IO buffers may speed up the process.
  210.  
  211. Packets Received
  212. The total number of packets received by the server.
  213.  
  214. Bad Packets Received
  215. This number represents the number of times the server got a packet from the IPXODI that was damaged, possibly with a corrupt IPXODI header.  Bad packets should rarely be received.  If this number is non-zero, there could be a hardware problem--possibly the network card.
  216.  
  217. Watchdog Terminations
  218. Netware Lite uses a process called the watchdog to verify whether or not a connection exists.  In a server's connection table there is a timer associated with each connection.  Whenever a packet is received from a client, the timer associated with that client is reset to zero.  If no packets are received within five minutes, the server "calls" that computer by sending out a packet asking for a response.  If the client computer responds, the server will reset the timer associated with that connection.  If the computer does not answer within five minutes, the server will call again once a minute for ten more minutes.  If no response is received from the "missing" computer, the server will remove the machine from the connection table and the client will have to re-establish a connection to access the server.  The process of eliminating missing connections using watchdog terminations, is used to keep the connection table in each server as clean as possible.
  219.     
  220. Each client machine has a connection table where the computer keeps track of how many other machines it is connected to.  Unlike the server, the client's connection table is not monitored by a watchdog and will not be disconnected if the connection is lost.  When a connection is lost with a server, the client machine will return the message General failure reading device NWLite and will ask the user to abort, retry, or fail every time an operation that accesses the server is attempted while the server is down.  When the connection is first re-established, the user will receive the same error, but pressing r for retry will re-establish the connection and carry out the requested operation.
  221.  
  222.  
  223. Trouble shooting with the Server Status screen
  224.  
  225. The right hand columns of the Server status screen contains the current configuration, the peak level, and the current statistics of the items configured in the Server configuration menu with the exception of Open files.  The CFG (configured) setting of Open files is the number of files that are defined in the config.sys file that DOS uses to configure the system when booting the computer.  The rest of the items have been covered previously in this document.
  226.  
  227. A network administrator may use the three columns of information to fine tune his/her network.  The items in the right hand column affect the size of the network in memory and the way the network operates.  By monitoring the figures in the PEAK and CURR columns and comparing those with the number currently configured in the CFG column, a netowrk administrator may avoid wasting valuable memory and also verify that the network has plenty of room to operate. 
  228.     
  229. If the highest recorded value for any of these attributes approaches 80 percent of the configured setting, a network administrator should consider increasing the configured setting.  Three figures need to be regularly monitored. These three are the number of connections, client tasks and open files.  As the highest values for these statistics approach or equal the corresponding configuration settings, unpredictable results can occur.  These results can be anything from file locking problems, to data corruption, to the server crashing and locking the entire network.
  230.     
  231. By monitoring the statistics on the Server Status Screen, a network administrator can isolate problems before they become critical, avoid wasting valuable memory space that can be better used by other applications, and tune the network so that it will operate at the most optimal level.
  232.